class CreateBaseCities < ActiveRecord::Migration[5.1]
  def change
    create_table :base_cities do |t|
      t.string :name_cn
      t.integer :province_id
      t.integer :city_type

      t.timestamps
    end

    add_index :base_cities, :province_id
  end
end
